package com.topscore.uke.mvp.contractors;

import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.request.MemberInfoUpdateRequest;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClientPostJson;

/**
 * Created by 71468 on 2017/10/24.
 */

public interface UpdateMemberInfoContractor extends BaseContractor {
    interface Model{
        ApiService mService = NetClientPostJson.getInstance().net().create(ApiService.class);
        void update(MemberInfoUpdateRequest request);
    }

    interface View extends BaseView{
        void onUpdateMemberInfoSuccess();
    }

    interface Presenter{
        void updateMemberInfo();
    }

    interface CallBack extends BaseHttpListener{
        void onUpdateSuccess();
    }
}
